-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-6017: Implemented loadVersionInfoListByContentInfo
PAPI method
#375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this targeted to 3.3 LTS if CS issue is for 4.5.0? This adds unnecessary maintenance costs for QA, cross merge-up, and maintenance. (resolved)
Remarks:
eZ/Publish/Core/Persistence/Legacy/Tests/Content/Gateway/DoctrineDatabaseTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/Tests/Content/ContentHandlerTest.php
Outdated
Show resolved
Hide resolved
@alongosz we usually validate whether the same problem occurs in v3.3 if it occurs in v4.5 (and in most cases it does). I believe plenty of installations will benefit from it on v3.3 as it's still LTS even if no one reported it. I can scrap this PR if you wish but I see nothing wrong in improving performance for the active LTS version. |
In theory 3.3 should not receive new functionality. This is done both to incentivize upgrading to a higher version and limit costs of maintenance, as Andrew pointed out. However, given how we've dealt with it in the past, this performance fix can be accepted, as most of the work is done and I assume you will take care of merging it up later. Ultimately the decision is made by weighting our maintenance costs against benefits. |
|
@barw4 after brief discussion with @webhdx we can indeed add this to 3.3 given the amount of work you've put into this and benefits for LTS 💪 |
@alongosz thank you for the heads-up, on it |
@alongosz almost all your remarks are applied, pinging for re-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replied to the last issue here: #375 (comment)
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with ca. 5000k landing pages with 100+ fields. Used tree built with folders with depth 3 (landing pages on 3rd level). One parent had 2, 5, 10, 50, 100 and 500 items.
Tried extreme Content tree config with load_more_limit
500 and children_load_max_limit
5000.
With the fix observed a gain in time from 18-19 sec to ca. 11 sec.
With default Content tree config (load_more_limit
30 and children_load_max_limit
200) the impact was not as big but also clear.
With the fixed observed a gain in time from 11-12 sec to 8-9 sec.
QA Approved on Ibexa Experience 3.3.34-dev.
v3.3
The newly implemented
loadVersionInfoListByContentInfo
allows loading latestVersionInfo
of given Contents in batch.Related
admin-ui
PR: ezsystems/ezplatform-admin-ui#2104Checklist:
$ composer fix-cs
).@ezsystems/engineering-team
).